package com.employee.attendance_daka.service;

import com.employee.attendance_daka.domain.Attendance;

import java.time.LocalDateTime;
import java.util.List;

public interface AttendanceService {
    //添加打卡记录
    String addAttendance(String employeeId, String employeeName, LocalDateTime clockTime, String status, String remark);

    //删除打卡记录
    String deleteAttendance(int id);

    //修改打卡记录
    //只能修改备注
    String updateAttendance(int id, String remark);
    
    //查询打卡记录
    List<Attendance> getAttendance(String employeeId, String employeeName, LocalDateTime startTime, LocalDateTime endTime);
}